package com.HomeWorkhsp.chapter13.math_;

public class MathMethod {
    public static void main(String[] args) {
        //取10个2到7的一个随机整数
        int a = 2;
        int b = 7;
        for (int i = 0; i < 10; i++) {
            System.out.println((int)(2 + Math.random()*6));
        }
    }
}
